package com.zzy.system.service;

import com.zzy.system.domain.GuanmaiCustomer;
import com.zzy.system.domain.GuanmaiSpu;
import com.zzy.system.domain.GuanmaiSupplier;
import com.zzy.system.domain.SysDicCity;

import java.io.IOException;
import java.util.List;

/**
 * @return 推送数据到陕生鲜
 * @Description 
 * @Author zhouzhiyong
 * @Date 2025/3/2 17:44
 **/
public interface IPushDataService {


    /**
     * 批量获取重庆供应商数据
     * @return
     * @throws Exception
     */
    public GuanmaiSupplier getChongqingSupplier(GuanmaiSupplier guanmaiSupplier) throws Exception;
    public GuanmaiSupplier getCustomerFromChongqing() throws Exception;

    /**
     * 推送到陕生鲜
     * @return
     * @throws Exception
     */
    public String pushCustomerToShanshengxian() throws Exception;

    /**
     * 推送供应商信息到陕生鲜
     * @return
     * @throws Exception
     */
    public String pushSupplier(GuanmaiSupplier guanmaiSupplier) throws Exception;
    public String pushCustomer(GuanmaiCustomer guanmaiCustomer) throws Exception;

    public String getToken() throws Exception;

    public String pushSpu(GuanmaiSpu guanmaiSpu) throws Exception;


    public String pushStationToShanshengxian() throws Exception;

    /**
     * 根据税号从陕生鲜平台获取信息
     * @return
     * @throws Exception
     */
    public String getCustomerFromShanshengxian(String xydm,String customerId) throws Exception;

    /**
     * 根据税号获取陕生鲜供应商信息
     * @param xydm
     * @return
     * @throws Exception
     */
    public String getSupplierFromShanshengxian(String xydm,String supplierId) throws Exception;


    public String pushInStockOrder() throws Exception;

    /**
     * "推送采购入库单到陕生鲜
     * @return
     */
    public String pushSaleOrder() throws Exception;
    public String pushPurchaseRefund() throws Exception;

}
